import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class Test08 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 50,
      child: TextField(
        decoration: InputDecoration(
          filled: true,
          fillColor: Color(0x30cccccc),
          hintText: "输入密码",
          focusedBorder: OutlineInputBorder(
              borderSide: BorderSide(color: Color(0x00FF0000)),
              borderRadius: BorderRadius.circular(100)),
          enabledBorder: OutlineInputBorder(
              borderSide: BorderSide(color: Color(0x00000000)),
              borderRadius: BorderRadius.circular(100)),
        ),
        textAlign: TextAlign.center,
        obscureText: true,
        onChanged: (value) {},
      ),
    );
  }
}
